<template>
  <div class="no-data">
    {{msg}}
  </div>
</template>

<script>
export default {
  name: 'nodata',
  props: {
    msg: {
      type: String,
      default: '暂无数据'
    }
  }
}
</script>

<style lang="scss" scoped>
.no-data {
  height: 134px;
  line-height: 134px;
  text-align: center;
  font-size: 30px;
  color: #666;
  user-select: none;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: rgba(255,255,255,0.5);
}
</style>
